package com.xbxkj.commen.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张子艺
 * @since 2020-01-10
 */
@ApiModel(value="ShopShops对象", description="")
@TableName("shop_shops")
public class ShopShops extends Model<ShopShops> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "门店编号")
    @TableField("shop_sn")
    private String shopSn;

    @ApiModelProperty(value = "店铺类型")
    @TableField("shop_type")
    private Integer shopType;

    @ApiModelProperty(value = "门店所有人ID(小程序)")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "门店所有人ID(后台)")
    @TableField("admin_user_id")
    private Integer adminUserId;

    @ApiModelProperty(value = " 是否自营 1:自营 2:非自营")
    @TableField("is_self")
    private Integer isSelf;

    @ApiModelProperty(value = "门店名称")
    @TableField("shop_name")
    private String shopName;

    @ApiModelProperty(value = "店主")
    @TableField("shop_keeper")
    private String shopKeeper;

    @ApiModelProperty(value = "店主手机号")
    @TableField("tele_phone")
    private String telePhone;

    @ApiModelProperty(value = "公司名称")
    @TableField("shop_company")
    private String shopCompany;

    @ApiModelProperty(value = "门店图标")
    @TableField("shop_img")
    private String shopImg;

    @ApiModelProperty(value = "门店电话")
    @TableField("shop_tel")
    private String shopTel;

    @ApiModelProperty(value = "门店QQ号")
    @TableField("shop_qq")
    private String shopQq;

    @ApiModelProperty(value = "门店地址")
    @TableField("shop_address")
    private String shopAddress;

    @ApiModelProperty(value = "银行ID")
    @TableField("bank_id")
    private Integer bankId;

    @ApiModelProperty(value = "银行卡号")
    @TableField("bank_no")
    private String bankNo;

    @ApiModelProperty(value = "银行卡所有人名称")
    @TableField("bank_ser_name")
    private String bankSerName;

    @ApiModelProperty(value = "能否开发票 1 能 2 不能")
    @TableField("is_invoice")
    private Integer isInvoice;

    @ApiModelProperty(value = "发票说明")
    @TableField("invoice_remarks")
    private String invoiceRemarks;

    @ApiModelProperty(value = "服务营业时间")
    @TableField("service_starttime")
    private Date serviceStarttime;

    @ApiModelProperty(value = "服务打样时间")
    @TableField("service_end_time")
    private Date serviceEndTime;

    @ApiModelProperty(value = "门店状态 1:营业中 2：休息中")
    @TableField("shop_ative")
    private Integer shopAtive;

    @ApiModelProperty(value = "门店状态 4:已停止 3:拒绝 2：未审核 1:已审核")
    @TableField("shop_status")
    private Integer shopStatus;

    @ApiModelProperty(value = "状态说明 一般用于停止和拒绝说明")
    @TableField("status_desc")
    private String statusDesc;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Long createTime;

    @ApiModelProperty(value = "商家钱包")
    @TableField("shop_money")
    private String shopMoney;

    @ApiModelProperty(value = "冻结金额")
    @TableField("lock_money")
    private String lockMoney;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getShopSn() {
        return shopSn;
    }

    public void setShopSn(String shopSn) {
        this.shopSn = shopSn;
    }
    public Integer getShopType() {
        return shopType;
    }

    public void setShopType(Integer shopType) {
        this.shopType = shopType;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public Integer getAdminUserId() {
        return adminUserId;
    }

    public void setAdminUserId(Integer adminUserId) {
        this.adminUserId = adminUserId;
    }
    public Integer getIsSelf() {
        return isSelf;
    }

    public void setIsSelf(Integer isSelf) {
        this.isSelf = isSelf;
    }
    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }
    public String getShopKeeper() {
        return shopKeeper;
    }

    public void setShopKeeper(String shopKeeper) {
        this.shopKeeper = shopKeeper;
    }
    public String getTelePhone() {
        return telePhone;
    }

    public void setTelePhone(String telePhone) {
        this.telePhone = telePhone;
    }
    public String getShopCompany() {
        return shopCompany;
    }

    public void setShopCompany(String shopCompany) {
        this.shopCompany = shopCompany;
    }
    public String getShopImg() {
        return shopImg;
    }

    public void setShopImg(String shopImg) {
        this.shopImg = shopImg;
    }
    public String getShopTel() {
        return shopTel;
    }

    public void setShopTel(String shopTel) {
        this.shopTel = shopTel;
    }
    public String getShopQq() {
        return shopQq;
    }

    public void setShopQq(String shopQq) {
        this.shopQq = shopQq;
    }
    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }
    public Integer getBankId() {
        return bankId;
    }

    public void setBankId(Integer bankId) {
        this.bankId = bankId;
    }
    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }
    public String getBankSerName() {
        return bankSerName;
    }

    public void setBankSerName(String bankSerName) {
        this.bankSerName = bankSerName;
    }
    public Integer getIsInvoice() {
        return isInvoice;
    }

    public void setIsInvoice(Integer isInvoice) {
        this.isInvoice = isInvoice;
    }
    public String getInvoiceRemarks() {
        return invoiceRemarks;
    }

    public void setInvoiceRemarks(String invoiceRemarks) {
        this.invoiceRemarks = invoiceRemarks;
    }
    public Date getServiceStarttime() {
        return serviceStarttime;
    }

    public void setServiceStarttime(Date serviceStarttime) {
        this.serviceStarttime = serviceStarttime;
    }
    public Date getServiceEndTime() {
        return serviceEndTime;
    }

    public void setServiceEndTime(Date serviceEndTime) {
        this.serviceEndTime = serviceEndTime;
    }
    public Integer getShopAtive() {
        return shopAtive;
    }

    public void setShopAtive(Integer shopAtive) {
        this.shopAtive = shopAtive;
    }
    public Integer getShopStatus() {
        return shopStatus;
    }

    public void setShopStatus(Integer shopStatus) {
        this.shopStatus = shopStatus;
    }
    public String getStatusDesc() {
        return statusDesc;
    }

    public void setStatusDesc(String statusDesc) {
        this.statusDesc = statusDesc;
    }
    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
    public String getShopMoney() {
        return shopMoney;
    }

    public void setShopMoney(String shopMoney) {
        this.shopMoney = shopMoney;
    }
    public String getLockMoney() {
        return lockMoney;
    }

    public void setLockMoney(String lockMoney) {
        this.lockMoney = lockMoney;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ShopShops{" +
            "id=" + id +
            ", shopSn=" + shopSn +
            ", shopType=" + shopType +
            ", userId=" + userId +
            ", adminUserId=" + adminUserId +
            ", isSelf=" + isSelf +
            ", shopName=" + shopName +
            ", shopKeeper=" + shopKeeper +
            ", telePhone=" + telePhone +
            ", shopCompany=" + shopCompany +
            ", shopImg=" + shopImg +
            ", shopTel=" + shopTel +
            ", shopQq=" + shopQq +
            ", shopAddress=" + shopAddress +
            ", bankId=" + bankId +
            ", bankNo=" + bankNo +
            ", bankSerName=" + bankSerName +
            ", isInvoice=" + isInvoice +
            ", invoiceRemarks=" + invoiceRemarks +
            ", serviceStarttime=" + serviceStarttime +
            ", serviceEndTime=" + serviceEndTime +
            ", shopAtive=" + shopAtive +
            ", shopStatus=" + shopStatus +
            ", statusDesc=" + statusDesc +
            ", createTime=" + createTime +
            ", shopMoney=" + shopMoney +
            ", lockMoney=" + lockMoney +
        "}";
    }
}
